var express = require('express');
var router = express.Router();

/* GET admin page. */
router.get('/', function(req, res, next) {
  res.render('admin/index', { title: 'Express' });
});

router.get('/slide', function(req, res, next) {
  res.render('admin/slide')
});

router.get('/slideEdit', function(req, res, next) {
  res.render('admin/slide_edit')
});
router.get('/category', function(req, res, next) {
  res.render('admin/category')
});
router.get('/categoryEdit', function(req, res, next) {
  res.render('admin/category_edit')
});
router.get('/boutique', function(req, res, next) {
  res.render('admin/boutique')
});
router.get('/boutiqueEdit', function(req, res, next) {
  res.render('admin/boutique_edit')
});
module.exports = router;
